

<div class="layui-form" lay-filter="layuiadmin-form-dnsauthadmin" style="padding: 20px 0 0 0;">
    <script type="text/html" template>
        <input type="hidden" name="id" value="{{ d.params.id }}">
    </script>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">DNS服务商</label>
            <div class="layui-input-inline layui-input-wrap">
                <script type="text/html" template>
                    <select name="dnsProviderType">
                        <option value="">请选择</option>
                        <option value="1" {{ d.params.dnsProviderType == '1' ? 'selected' : '' }}>阿里云</option>
                        <option value="2" {{ d.params.dnsProviderType == '2' ? 'selected' : '' }}>腾讯云</option>
                        <option value="3" {{ d.params.dnsProviderType == '3' ? 'selected' : '' }}>华为云</option>
                    </select>
                </script>
            </div>
            <div class="layui-form-mid layui-input-wrap freecert-dnsauth-add" style="padding: 0!important;">
                <span>没有我要的DNS服务商?</span>
                <a href="https://support.qq.com/product/653828" target="_blank">我要提需求</a>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">AccessKey ID</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="accessKeyID" value="{{ d.params.accessKeyID || '' }}" lay-verify="required" placeholder="请输入AccessKey ID" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">AccessKey Secret</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="text" name="accessKeySecret" value="{{ d.params.accessKeySecret || '' }}" lay-verify="required" placeholder="请输入AccessKey Secret" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-dnsauth-front-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
layui.use(['admin', 'form', 'upload'], function(){
  var $ = layui.$
  ,form = layui.form
    , upload = layui.upload;


})
</script>